﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using AutoMapper;

using KSOAdmin.Models.DomainModels.System;
using KSOAdmin.Models.ViewModel;

namespace KSOAdmin.IServices
{
    public class AutoMapperServices :Profile
    {
        public AutoMapperServices()
        {
           CreateMap<Sys_User, View_Sys_User>().ReverseMap();
           CreateMap<Sys_Menu, View_Sys_Menu>().ReverseMap();
           CreateMap<Sys_Log, View_Sys_Log>().ReverseMap();
        
        }
    }
}
